Tankless water heaters are generally more energy-efficient, leading to lower operating costs over time, but the higher initial investment can take years to recoup. Tank water heaters lose heat even when not in use (standby heat loss), which increases energy consumption.